
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Created by mushuai on 2015/6/24.
 */
public class StandaloneServer {
    public static void main(String[] args) throws Exception {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext
                (new String[]{"classpath:standaloneContext.xml","classpath*:META-INF/spring/standaloneContext*.xml"});
        context.start();


        System.in.read(); // 按任意键退出
    }
}
